package com.liu.sx.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@NoArgsConstructor
@Setter
@Getter
@Entity
@Table(name = "t_driver")
public class Driver {

    @Id
    private String id;

    private String address;

    private String companyId;

    private String phone;// 充值号

    private String carNum;// 卡片序列号

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;


    private String x;


    private String y;

    private int userId;

    private int count;//虫子总数



}
